Optimal. Leaf size=228 \[ \frac{3 \sqrt{\pi } e^{\frac{b c}{d}-a} \text{Erf}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{\sqrt{\frac{\pi }{3}} e^{\frac{3 b c}{d}-3 a} \text{Erf}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{3 \sqrt{\pi } e^{a-\frac{b c}{d}} \text{Erfi}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{\sqrt{\frac{\pi }{3}} e^{3 a-\frac{3 b c}{d}} \text{Erfi}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.373702, antiderivative size = 228, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 5, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.278, Rules used = {3312, 3307, 2180, 2204, 2205} \[ \frac{3 \sqrt{\pi } e^{\frac{b c}{d}-a} \text{Erf}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{\sqrt{\frac{\pi }{3}} e^{\frac{3 b c}{d}-3 a} \text{Erf}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{3 \sqrt{\pi } e^{a-\frac{b c}{d}} \text{Erfi}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{\sqrt{\frac{\pi }{3}} e^{3 a-\frac{3 b c}{d}} \text{Erfi}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3312
Rule 3307
Rule 2180
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \frac{\cosh ^3(a+b x)}{\sqrt{c+d x}} \, dx &=\int \left (\frac{3 \cosh (a+b x)}{4 \sqrt{c+d x}}+\frac{\cosh (3 a+3 b x)}{4 \sqrt{c+d x}}\right ) \, dx\\ &=\frac{1}{4} \int \frac{\cosh (3 a+3 b x)}{\sqrt{c+d x}} \, dx+\frac{3}{4} \int \frac{\cosh (a+b x)}{\sqrt{c+d x}} \, dx\\ &=\frac{1}{8} \int \frac{e^{-i (3 i a+3 i b x)}}{\sqrt{c+d x}} \, dx+\frac{1}{8} \int \frac{e^{i (3 i a+3 i b x)}}{\sqrt{c+d x}} \, dx+\frac{3}{8} \int \frac{e^{-i (i a+i b x)}}{\sqrt{c+d x}} \, dx+\frac{3}{8} \int \frac{e^{i (i a+i b x)}}{\sqrt{c+d x}} \, dx\\ &=\frac{\operatorname{Subst}\left (\int e^{i \left (3 i a-\frac{3 i b c}{d}\right )-\frac{3 b x^2}{d}} \, dx,x,\sqrt{c+d x}\right )}{4 d}+\frac{\operatorname{Subst}\left (\int e^{-i \left (3 i a-\frac{3 i b c}{d}\right )+\frac{3 b x^2}{d}} \, dx,x,\sqrt{c+d x}\right )}{4 d}+\frac{3 \operatorname{Subst}\left (\int e^{i \left (i a-\frac{i b c}{d}\right )-\frac{b x^2}{d}} \, dx,x,\sqrt{c+d x}\right )}{4 d}+\frac{3 \operatorname{Subst}\left (\int e^{-i \left (i a-\frac{i b c}{d}\right )+\frac{b x^2}{d}} \, dx,x,\sqrt{c+d x}\right )}{4 d}\\ &=\frac{3 e^{-a+\frac{b c}{d}} \sqrt{\pi } \text{erf}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{e^{-3 a+\frac{3 b c}{d}} \sqrt{\frac{\pi }{3}} \text{erf}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{3 e^{a-\frac{b c}{d}} \sqrt{\pi } \text{erfi}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}+\frac{e^{3 a-\frac{3 b c}{d}} \sqrt{\frac{\pi }{3}} \text{erfi}\left (\frac{\sqrt{3} \sqrt{b} \sqrt{c+d x}}{\sqrt{d}}\right )}{8 \sqrt{b} \sqrt{d}}\\ \end{align*}
Mathematica [A] time = 0.206166, size = 192, normalized size = 0.84 \[ \frac{e^{-3 \left (a+\frac{b c}{d}\right )} \left (\sqrt{3} e^{6 a} \sqrt{-\frac{b (c+d x)}{d}} \text{Gamma}\left (\frac{1}{2},-\frac{3 b (c+d x)}{d}\right )+9 e^{4 a+\frac{2 b c}{d}} \sqrt{-\frac{b (c+d x)}{d}} \text{Gamma}\left (\frac{1}{2},-\frac{b (c+d x)}{d}\right )-e^{\frac{4 b c}{d}} \sqrt{\frac{b (c+d x)}{d}} \left (9 e^{2 a} \text{Gamma}\left (\frac{1}{2},\frac{b (c+d x)}{d}\right )+\sqrt{3} e^{\frac{2 b c}{d}} \text{Gamma}\left (\frac{1}{2},\frac{3 b (c+d x)}{d}\right )\right )\right )}{24 b \sqrt{c+d x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.123, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \cosh \left ( bx+a \right ) \right ) ^{3}{\frac{1}{\sqrt{dx+c}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.62049, size = 239, normalized size = 1.05 \begin{align*} \frac{\frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{-\frac{b}{d}}\right ) e^{\left (3 \, a - \frac{3 \, b c}{d}\right )}}{\sqrt{-\frac{b}{d}}} + \frac{\sqrt{3} \sqrt{\pi } \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{\frac{b}{d}}\right ) e^{\left (-3 \, a + \frac{3 \, b c}{d}\right )}}{\sqrt{\frac{b}{d}}} + \frac{9 \, \sqrt{\pi } \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{b}{d}}\right ) e^{\left (a - \frac{b c}{d}\right )}}{\sqrt{-\frac{b}{d}}} + \frac{9 \, \sqrt{\pi } \operatorname{erf}\left (\sqrt{d x + c} \sqrt{\frac{b}{d}}\right ) e^{\left (-a + \frac{b c}{d}\right )}}{\sqrt{\frac{b}{d}}}}{24 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.08736, size = 594, normalized size = 2.61 \begin{align*} \frac{\sqrt{3} \sqrt{\pi } \sqrt{\frac{b}{d}}{\left (\cosh \left (-\frac{3 \,{\left (b c - a d\right )}}{d}\right ) - \sinh \left (-\frac{3 \,{\left (b c - a d\right )}}{d}\right )\right )} \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{\frac{b}{d}}\right ) - \sqrt{3} \sqrt{\pi } \sqrt{-\frac{b}{d}}{\left (\cosh \left (-\frac{3 \,{\left (b c - a d\right )}}{d}\right ) + \sinh \left (-\frac{3 \,{\left (b c - a d\right )}}{d}\right )\right )} \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{-\frac{b}{d}}\right ) + 9 \, \sqrt{\pi } \sqrt{\frac{b}{d}}{\left (\cosh \left (-\frac{b c - a d}{d}\right ) - \sinh \left (-\frac{b c - a d}{d}\right )\right )} \operatorname{erf}\left (\sqrt{d x + c} \sqrt{\frac{b}{d}}\right ) - 9 \, \sqrt{\pi } \sqrt{-\frac{b}{d}}{\left (\cosh \left (-\frac{b c - a d}{d}\right ) + \sinh \left (-\frac{b c - a d}{d}\right )\right )} \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{b}{d}}\right )}{24 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cosh ^{3}{\left (a + b x \right )}}{\sqrt{c + d x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cosh \left (b x + a\right )^{3}}{\sqrt{d x + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]